using Handday.Erp.Transfer.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Handday.Erp.Transfer.Repositories.Mappings
{
    /// <summary>
    /// 8项交易源数据数据库映射
    /// </summary>
    public class EightTradingSourceMap : IEntityTypeConfiguration<EightTradingSource>
    {
        /// <summary>
        /// Configure
        /// </summary>
        public void Configure(EntityTypeBuilder<EightTradingSource> builder)
        {
            builder.ToTable("eight_trading_source").HasKey(p => p.BusinessId);
        }
    }
}
